<%@page import="bean.MboardVO"%>
<%@page import="bean.MboardDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>input_r</title>
<script src="../js/mboard.js"></script>
</head>
<body>
<jsp:useBean id="vo" class="bean.MboardVO" scope="page"></jsp:useBean>
<jsp:setProperty property="*" name="vo"/>
<%
MboardDTO dto = new MboardDTO();
dto.setVo(vo);
boolean b = dto.reinput();

if(b){
	out.print("성공");
%>
<div>
<br><br>
제목  : <%=dto.getVo().getSubject() %><br>
주제  : <%=dto.getVo().getCategory() %><br><br><br>
----내용----   <pre><%=dto.getVo().getContent() %></pre><br>----------


</div>
<%}else{
	out.print("실패");
}%>

<input type="button" id="btnlist" value="목록으로">
<form name="listfrm" method="post">
	<input type="hidden" name="nowpage" value="<%=vo.getNowpage()%>">
	<input type="hidden" name="find" value="<%=vo.getFind()%>">
	<input type="hidden" name="search" value="<%=vo.getSearch()%>">
	
</form>

<script>inputinit();</script>

</body>
</html>